package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "tabhua_users")

public class Users implements Serializable {
    private static final long serialVersionUID=6003135946820874230L;

    private ObjectId id;
    private Long userId;//用户id
    private Long friengId;//好友id
    private Long date;//时间
}
